package scau.redi.social_platform.dao;

import scau.redi.social_platform.domain.pojo.Shared;

import java.util.List;

public interface SharedMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Shared record);

    int insertSelective(Shared record);

    Shared selectByPrimaryKey(Integer id);

    List<Shared> selectByUserId(Integer userId);

    int selectLastInsertId();

    int updateByPrimaryKeySelective(Shared record);

    int updateByPrimaryKey(Shared record);

    List<Shared> selectAll();

    List<Shared> selectAllByTime();

}